﻿using System.Collections.Generic;
using System.Linq;
using FLH.RegionToBlockUogIDs;
using MyFloridaHouse.libSvDTO;

namespace MyFloridaHouse.DataAccess.ExtensionsTS
{
    public static class ConvertRegionToBlockUogIDsModelToShapeUogIDDTO
    {
        public static List<int> convertList(List<RegionToBlockUogIDsModel> itemList)
        {
            return itemList.Select(item => ConvertRegionToBlockUogIDsModelToShapeUogIDDTO.DataContract(item)).ToList();
        }

        public static int DataContract(RegionToBlockUogIDsModel item)
        {
            return item.BlockUogID;
           
        }
    }
}
